package com.sportsforce.client.map;

import com.google.gwt.maps.client.MapWidget;
import com.google.gwt.maps.client.control.LargeMapControl;
import com.google.gwt.maps.client.geom.LatLng;



/** 
 * Displays a Google Map, centered at US, for the tweets to be displayed on.
 * 
 * @Architecture 
 */

public class Map {

	public static MapWidget map = null;

	public static MapWidget getMap() {

		map = new MapWidget();
		map.setSize("700px", "500px");
		map.addControl(new LargeMapControl());

		return map;
	}

	public static MapWidget getMap(LatLng center, int zoomLevel) {

		map = new MapWidget(center, zoomLevel);
		map.setSize("700px", "500px");
		map.addControl(new LargeMapControl());

		return map;

	}
}
